git pull
echo JAVA RUN START;
cd /usr/local/code/moses-saas/back/
rm -rf ./target/**
mvn clean package
cd ./target/yzcrm-release/yzcrm/
./yzcrm.sh restart
#echo REMOVE ROOT;
#rm -rf /usr/tomcat/apache-tomcat-9.0.8/webapps/ROOT
#rm -rf /usr/tomcat/apache-tomcat-9.0.8/webapps/ROOT.war
#echo COPY JAVA PACKAGE
#cp /usr/local/code/moses-saas/target/ROOT.war /usr/tool/tomcat/apache-tomcat-9.0.8/webapps
echo MVN SUCCESS
